.printPage {
  overflow: hidden;
  #chat {
    display: none;
  }
  .unnormalIcon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: url('~src/pages/worksheet/assets/worksheet.png') no-repeat;
    background-size: 150px 150px;
    background-color: #f2f2f2;
    margin: 0 auto;
  }
  .loadDivPrint {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -50px;
    margin-top: -50px;
    text-align: center;
  }
}
.printTem {
  height: 100%;
  .printTemCon {
    display: flex;
    width: 100%;
    height: calc(~'100% - 50px');
  }
  .pdfPng,
  .wordPng,
  .exportPng {
    display: inline-block;
    margin: 0 auto;
    width: 50px;
    height: 60px;
    background: url('./img/word.png') no-repeat center center;
    background-size: cover;
    margin-left: -2px;
  }
  .exportPng {
    background: url('./img/export.png') no-repeat center center;
    background-size: cover;
  }
  .pdfPng {
    background: url('./img/pdf.png') no-repeat center center;
    background-size: cover;
  }
  .toWordLoadCon {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    .dec {
      & > div {
        display: inline-block;
      }
      font-size: 15px;
      font-weight: 400;
      color: #333333;
      line-height: 20px;
      margin: 0;
      margin-top: 12px;
    }
    .txt {
      font-size: 13px;
      font-weight: 400;
      color: #757575;
      line-height: 20px;
      margin-top: 12px;
    }
    .downWord {
      font-size: 13px;
      font-weight: 400;
      color: #2196f3;
      line-height: 17px;
      cursor: pointer;
      margin: 0;
      margin-top: 12px;
      &:hover {
        color: #2a65c4;
      }
    }
    .toPdf {
      background: #ffffff;
      border: 1px solid #dddddd;
      border-radius: 4px;
      padding: 10px 50px;
      display: inline-block;
      margin: 30px auto 0;
      color: #333333;
      border: 1px solid #dddddd;
      border-radius: 4px;
      cursor: pointer;
      &:hover {
        color: #2196f3;
        border: 1px solid #2196f3;
      }
    }
  }
  .previewContainer {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    transition: bottom 0.4s;
    iframe {
      border: 0;
    }
    .iframeDiv {
      display: none;
    }
    .iframeLoad {
      text-align: center;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      & > div {
        display: inline-block;
      }
      .dec {
        font-size: 15px;
        font-weight: 400;
        color: #333333;
        line-height: 20px;
        margin-top: 23px;
      }
    }
    .fileViewer {
      position: absolute;
      width: 100%;
      height: 100%;
      border: none;
    }
    .iframeViewer {
      background-color: #525659;
      color: #333;
    }
  }
}

@media print {
  body,
  html {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    border: 0px !important;
    background: #fff;
  }
  .nano {
    position: relative;
    width: 100%;
    height: auto !important;
    overflow: initial;
    padding: 0;
    background: #fff;
  }
  .nano > .nano-content {
    position: initial;
    overflow: initial;
    overflow-x: initial;
    padding: 0;
    background: #fff;
  }
  .nano-pane {
    display: none;
  }
  .printTem .printContent {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    background: #fff;
  }
}
